using Abcd.DynamicApi.ApiHost;

var builder = WebApplication.CreateBuilder(args);
builder.Host.UseAutofac();
builder.Services
    .ReplaceConfiguration(builder.Configuration)
    .AddApplication<AbcdDynamicApiApiHostModule>();

var app = builder.Build();
app.InitializeApplication();
app.Run();
